package com.itheima.demo02;

public class TestAnimal {
    public static void main(String[] args) {
        Animal a = new Cat();
        a.eat();
        //new Cat().catchMouse();
        Cat c = (Cat) a;
        c.catchMouse();
    }
}
